﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using Water.Web.Controls.BaseInterface;

namespace Water.Web.Controls
{
    public partial class ImageButton : IConfirm
    {
        #region IConfirm 成员
        private bool isConfirm;
        private string confirmText;

        [Browsable(true), Category("Behavior"), GlobalizeDescription("IsConfirm")]
        public bool IsConfirm
        {
            get
            {
                return this.isConfirm;
            }
            set
            {
                this.isConfirm = value;
            }
        }
        [Browsable(true), Category("Behavior"), GlobalizeDescription("ConfirmText")]
        public string ConfirmText
        {
            get
            {
                return this.confirmText;
            }
            set
            {
                this.confirmText = value;
            }
        }

        public override string OnClientClick
        {
            get
            {
                return base.OnClientClick;
            }
            set
            {
                base.OnClientClick = value;
            }
        }

        #endregion
    }
}
